package com.zzxy.springmvc12.controller;

import org.springframework.stereotype.Controller;

public abstract class UserController implements Controller {
    @Override
    public ModelAnView handleRequest(HttpServletRequest httpServletRequest,HttpServletResponse httpServletResponse)
        ModelAnView modelAnView=new ModelAndView("/user/userList");

    private class ModelAnView {
    }

    private class HttpServletRequest {
    }

    private class HttpServletResponse {
    }

    private class ModelAndView extends ModelAnView {
        public ModelAndView(String s) {
            super();
        }
    }
    modelAndView.addObject("username","zhangsanfeng");
    return modelAndView;

}
